home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / lcppb.zip / LCPPANS.ZIP / AQUOTE.CPP < prev    next >
C/C++ Source or Header  |  1991-07-08  |  350b  |  19 lines

  1. // aquote.cpp -- Assign single quote to a char variable
  2.  
  3. #include <iostream.h>
  4.  
  5. main()
  6. {
  7.   char c = '\'';
  8.  
  9.   cout << "c = " << c;
  10. }
  11.  
  12.  
  13. // Copyright (c) 1990 by Tom Swan. All rights reserved
  14. // Revision 1.00    Date: 10/23/1990   Time: 04:18 pm
  15.  
  16. // Revision 1.01    Date: 07/08/1991   Time: 05:41 pm
  17. // Converted for Borland C++ 2.0
  18.  
  19.